Skip to content

feat(playwright): add PageAction extension point with built-in actions#1897

Merged
rzo1 merged 5 commits into
mainfrom
playwright-page-actions
May 11, 2026
Merged

feat(playwright): add PageAction extension point with built-in actions#1897
rzo1 merged 5 commits into
mainfrom
playwright-page-actions

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented May 4, 2026

Introduces a configurable post-navigate chain loaded from JSON via playwright.page.actions.config.file, so site-specific DOM transformations no longer require subclassing the protocol. Ships built-ins for overlay dismissal, clickable expansion, scroll-to-bottom, wait-for-selector, JS evaluation, and screenshot capture.

Introduces a configurable post-navigate chain loaded from JSON via
playwright.page.actions.config.file, so site-specific DOM transformations
no longer require subclassing the protocol. Ships built-ins for overlay
dismissal, clickable expansion, scroll-to-bottom, wait-for-selector,
JS evaluation, and screenshot capture.
@rzo1 rzo1 added this to the 3.6.0 milestone May 4, 2026
@jnioche
Copy link
Copy Markdown
Contributor

jnioche commented May 5, 2026

This is great, reminds me of the NavigationFilter mechanism we have for Selenium.

@rzo1
Copy link
Copy Markdown
Contributor Author

rzo1 commented May 5, 2026

This is great, reminds me of the NavigationFilter mechanism we have for Selenium.

Yes. It is inspired by it and we faced the lack of it in Playwright during Lisa's bachelor thesis :)

# Conflicts:
#	docs/src/main/asciidoc/configuration.adoc
#	external/playwright/README.md
@rzo1 rzo1 merged commit 10ab32d into main May 11, 2026
1 check passed
@rzo1 rzo1 deleted the playwright-page-actions branch May 11, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants